package com.chonglie;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;

public class PopupWindowActivity extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.popup_window);
	}

	public void login(View view) {
		EditText nameText = (EditText) findViewById(R.id.popupwindow_name);
		EditText pswdText = (EditText) findViewById(R.id.popupwindow_pswd);
		setTitle(nameText.getText() + "," + pswdText.getText());
	}

	public void cancel(View view) {
		
	}
}
